@charset "UTF-8";
@import "_general.scss";

.middle{
    width: 1226px;
    margin: auto;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    .middle-imgs{
        width: 560px;
        height: 560px;
        position: relative;
        overflow: hidden;
        div:first-child{
            display: flex;
            img{
                width: 100%;
                height: 100%; 
                display: none;
                &:first-child{
                    display: block;
                }
            }
        }
        .index-dots{
            position: absolute;
            bottom: 0;
            left: 0;
            top: 540px;
            right: 0;
            margin: auto;
            width: 100%;
            height: 20px;
            display: flex;
            justify-content: center;
            a{
                display: inline-block;
                background: #ccc;
                width: 50px;
                border-radius: 0;
                border: 0;
                height: 3px;
                margin: 0 4px;
                @include transition(0.3s);
                &:hover{
                    cursor: pointer;
                    background: rgb(132, 130, 130);
                }
            }
            .active{
                background: rgb(132, 130, 130);
            }
        }
    }
    .middle-caption{
        width: 630px;
        height: 700px;
        padding-right: 20px;
        box-sizing: border-box;
        font-size: 14px; 
        .company-info{
            color: #ff6700;
            margin-bottom: 0;
            margin: 14px 0 0;
            display: inline-block;
        }
        h2{
            margin: 0;
            padding: 0;
            font-size: 24px;
            font-weight: 400;
            color: #212121;
        }
        .introduce{
            color: #b0b0b0;
            margin: 0;
            padding: 0;
            padding-top: 8px;
            line-height: 1.5;
        }
        .present-price{
            display: inline-block;
            font-size: 18px;
            line-height: 1;
            color: #ff6700;
            padding: 12px 0 10px;
        }
        .before-price{
            font-size: 14px;
            margin-left: 5px;
            color: #b0b0b0;
            text-decoration: line-through;
        }
        .line{
            margin-top: 12px;
            border-bottom: 1px solid #e0e0e0;
        }
        .area{
            padding: 30px 50px;
            position: relative;
            background: #fafafa;
            border: 1px solid #e0e0e0;
            line-height: 30px;
            i{
                margin-right: 15px;
            }
            span{
                margin-right: 10px;
            }
            .tag{
                color: $txtColor;
                margin-left: 34px;
            }
        }
        .title{
            margin: 15px 0;
            font-size: 18px;
            color: #333;
        }
        .select-color{
            color: $txtColor;
            border: 1px solid $txtColor;
            width: 292px;
            height: 42px;
            font-size: 16px;
            line-height: 42px;
            margin: 15px 0;
            text-align: center;
            &:hover{
                cursor: pointer;
            }
        }
        .amount{
            background: #f9f9fa;
            padding: 30px;
            margin-bottom: 30px;
            .goods-infor{
                width: 100%;
                display: flex;
                justify-content: space-between;
                color: #616161;
            }
            .price{
                display: inline-block;
                color: $txtColor;
                font-size: 24px;
                padding-top: 20px;
            }
        }
        .add-btn{
            margin: 10px 0 20px 0;
            .add-shopping-car{
                width: 298px;
                height: 52px;
                line-height: 52px;
                font-size: 16px;
                background: #ff6700;
                border-color: #ff6700;
                border: none;
                color: #fff;
                @include transition(.3s);
                &:hover{
                    cursor: pointer;
                    background-color: #f25807;
                    border-color: #f25807;
                    color: #fff;
                }
            }
            .add-like{
                display: inline-block;
                width: 140px;
                height: 52px;
                line-height: 52px;
                padding: 0;
                margin: 0;
                border: 1px solid #b0b0b0;
                text-align: center;
                cursor: pointer;
                -webkit-transition: all .4s;
                transition: all .4s;
                font-size: 16px;
                position: relative;
                border: none;
                background: #b0b0b0;
                border-color: #b0b0b0;
                color: #fff;
                i{
                    font-weight: 900;
                    margin-right: 5px;
                }
                &:hover{
                    background-color: #757575;
                    border-color: #757575;
                    color: #fff;
                }
            }
        }
        .security{
            span{
                font-style: normal;
                display: inline-block;
                margin-left: 2px;
                vertical-align: middle;
                display: inline-block;
                display: inline-block;
                margin-right: 15px;
                line-height: 30px;
                margin-bottom: 10px;
                cursor: default;
                white-space: nowrap;
                color: #b0b0b0;
                i{
                    margin-right: 5px;
                }
            }
        }
    }
}